<?php
/**
 * 权限配置文件
 * User: wuhao
 * Date: 2017/3/13
 * Time: 11:05
 */
return [
    //楼宇房源相关
//    'building_house' => [
//        //'setBuilding'        => [3, 4],         //新增楼宇
//        //'getBuildingDetail'  => [3, 4],         //获取楼宇详细信息
//        //'editBuilding'       => [3, 4],         //编辑楼宇的操作  编辑,删除,失效
//        //'deleteBuilding'     => [3, 4],         //删除楼宇
//        //'setHouse'           => [3, 4],         //新增房源
//        //'getHouseDetail'     => [3, 4],         //获取房源详细信息
//        ///'editHouse'          => [3, 4],         //编辑房源
//        //'deleteHouse'        => [3, 4],         //删除房源
//        //'index'             => [0, 1, 3, 4],  //查询房源数据
//        //'getBuilding'        => [3, 4],         //查询楼宇数据
//        //'getHouseSummary'    => [1, 3, 4],      //统计房源出租率等信息
//        //'getBuildingStatics' => [3, 4],         //楼宇管理-获取托管楼宇统计数据
//        //'getBuildingSummary'=> [1, 3, 4],     //楼宇管理-获取楼宇列表的统计数据
//        //'getTrustBuilding'   => [3, 4],         //托管签约-获取房源
//        //'incomeBuildSummary' => [1, 3, 4, 5, 6],//收入管理-统计楼宇统计数据
//        //'import'             => [3, 4],         //房源的导入功能
//        //'getOwnerBuilding'   => [1,3,4,5,6]     //文件导出需要的楼宇信息
//    ],
    //租赁合约相关
//    'lease' => [
//        //'addLease'         => [3, 4],          //录入租赁合约
//        //'leaseList'        => [1, 2, 3, 4],    //获取租赁签约列表
//        //'leaseDetail'      => [1, 2, 3, 4],    //租赁签约详情
//        //'forbidLease'      => [3, 4],          //使租赁合约失效
//        //'editLease'        => [3, 4],          //编辑
//        //'import'           => [3, 4],          //批量导入
//    ],

    //托管合约相关
//    'trust' => [
//        //'trustList'   => [3, 4, 1],                 //获取托管合约列表
//        //'trustDetail' => [3, 4, 1],                 //获取托管合约详情
//        //'addTrust'    => [3, 4],                    //新增托管合约
//        //'editTrust'   => [3, 4],                    //新增托管合约
//       // 'forbidTrust' => [3, 4],                    //使合同失效
//    ],

    //账单相关
//    'bill' => [
//        //'trustPay'         => [3, 4],              //应付托管账单
//        //'trustIncome'      => [1, 3, 4],           //应收托管账单
//        //'incomeManager'    => [1, 3, 4, 5, 6],     //收入管理 - 收款
//        //'payManager'       => [3, 4],              //收入管理 - 付款
//        //'addPayBill'       => [1, 3, 4, 5, 6],     //新增租赁账单
//        //'manualCollection' => [1, 3, 4, 5, 6],     //新增租赁账单人工收款记录
//    ],
    //用户信息相关
//    'member' => [
//       //'index' => [0, 3, 4],             //获取用户信息
//       //'add'  => [0, 3, 4],              //添加用户
//       //'import' => [1, 3, 4, 5, 6],      //用户信息的导入功能
//    ],
    //消息管理
//    'message' => [
//        'index' => [0],        //消息管理
//    ],
    //催缴短信
//    'pay_notice' => [
//        'manualSend' => [1,3,4,5,6],   //人工发送催缴短信
//        'reSend'     => [1,3,4,5,6],   //短信重发
//    ],
    //物业管理
//    'property_manager' => [
//        //'propertyManager' => [5,6],      //物业水电管理
//        //'getBuilding'     => [3,4,5,6],  //获取对应楼宇
//        //'propApprove'     => [3,4]       //审批
//    ],
    //个人中心
//    'user_center' => [
//        'moneySummary'    => [1, 3, 4, 5, 6],  //金额统计
//        'houseStatistics' => [1, 3, 4, 5, 6],  //房源信息统计
//        'moneyStatistics' => [1, 3, 4, 5, 6],  //收入信息统计
//    ],
    //文件相关
//    'file' => [
//        //'index' => [1,3,4,5,6],  //获取文件列表
//    ],


//基础角色权限
    '0' => [4, 21, 37, 5, 26, 9, 25, 42, 10, 41, 48,49,50],

    '1' => [1, 12, 28, 2, 17, 3, 18, 19, 5, 26, 6, 22, 7, 23, 8, 9, 24, 25, 28, 46, 47],

    '2' => [1, 8, 13, 24],

    '3' => [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15, 16, 17, 18, 19,
        20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 47],

    '4' => [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 15, 16, 17, 18, 19,
        20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 43, 44, 45, 46, 47],

    '5' => [1, 3, 5, 6, 7, 9, 12, 26, 18, 19, 22, 23, 25, 28, 46, 47],

    '6' => [1, 3, 5, 6, 7, 9, 12, 26, 18, 19, 22, 23, 25, 28, 46, 47],
];